﻿@model VVA.Website.UI.Areas.Admin.Models.Account.RegisterModel

@{
    ViewBag.Title = "Create";
    Layout = "~/Areas/Admin/Views/Shared/_Layout.cshtml";
}

<div class="content-box">
    <div class="content-box-header">
        <h3></h3>
    </div>
    <div class="content-box-content">
        @using (Html.BeginForm())
        {
            @Html.AntiForgeryToken()
            Html.ValidationSummary();
            <fieldset>
                @Html.ValidationSummary(true)
                <p>
                    @Html.LabelFor(model => model.UserName)
                    @Html.TextBoxFor(model => model.UserName, new { @class = "text-input medium-input" })
                    @Html.ValidationMessageFor(model => model.UserName)
                </p>
                <p>
                    @Html.LabelFor(model => model.Email)
                    @Html.TextBoxFor(model => model.Email, new { @class = "text-input medium-input" })
                    @Html.ValidationMessageFor(model => model.Email)
                </p>
                <p>
                    @Html.LabelFor(model => model.Password)
                    @Html.PasswordFor(model => model.Password, new { @class = "text-input medium-input" })
                </p>
                <p>
                    @Html.LabelFor(model => model.ConfirmPassword)
                    @Html.PasswordFor(model => model.ConfirmPassword, new { @class = "text-input medium-input" })
                </p>
                <p>
                    <input type="submit" id="btnSaveAndClose" class="button" value="@HttpContext.GetGlobalResourceObject("Common", "Save")" />
                    @Html.ActionLink(HttpContext.GetGlobalResourceObject("Common", "BackToList").ToString(), "Index", new { controller = "Account" }, new { @class = "button" })
                </p>
            </fieldset>    
        }
    </div>
</div>
